
package com.insigma.business.qrcode.soldier.dto;


import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Map;


@Setter
@Getter
public class QaItemDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    public QaItemDTO(String content) {
        this.content = content;
    }

    public QaItemDTO(String title, String content) {
        this.title = title;
        this.content = content;
    }

    public QaItemDTO(String title, String content, String type) {
        this.title = title;
        this.content = content;
        this.type = type;
    }

    public QaItemDTO(String title, String content, String type, Object extra) {
        this.title = title;
        this.content = content;
        this.type = type;
        this.extra = extra;
    }

    public QaItemDTO(String title, String content, String type, Object extra, String style) {
        this.title = title;
        this.content = content;
        this.type = type;
        this.extra = extra;
        this.style = style;
    }

    public QaItemDTO(String content, Map<String, QaItemExtraDTO> extra) {
        this.content = content;
        this.extra = extra;
    }

    public QaItemDTO(String title, Object content, Map<String, QaItemExtraDTO> extra) {
        this.title = title;
        this.content = content;
        this.extra = extra;
    }

    
    private String title;

    private String style;

    
    private Object content;

    
    private String type;

    
    private Object extra;

    
    private String category;

    
    private String attachment;

    
    private String reference;

}
